﻿using Abp.Application.Services;
using Microsoft.AspNetCore.Mvc;
using SOEI.Solution.Application.Contracts.CommonOthers.Pdf.Dtos;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SOEI.Solution.Application.Contracts.CommonOthers.Pdf
{
    public interface IPdfAppService : IApplicationService
    {
        /// <summary>创建PDF
        /// </summary>
        Task<string> Create(PdfInputDto input);

        /// <summary>获取PDF
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<FileContentResult> Get(PdfInputDto input);

        /// <summary>判断是否存在PDF
        /// </summary>
        Task<bool> IsExistsPdf(PdfInputDto input);
    }
}
